package com.alks.function.mapper.procurement;


import com.alks.function.data.request.procurement.LotNoRequest5;
import com.alks.function.data.request.procurement.LotNoRequest6;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PcLotUsageChgMapper {

    /*更新PC_LOT_USAGE_CHG*/
    int updatepcLotUsageChgByPur(@Param("list") List<LotNoRequest5> cyList);

    /*更新PC_LOT_USAGE_FIT_CHG*/
    int updatepcLotUsageFitChgByPur(@Param("list") List<LotNoRequest5> cyList);

    /*退回PC_LOT_USAGE_CHG*/
    int updateBackPcLotUsageChgByPur(LotNoRequest6 request);

    /*退回PC_LOT_USAGE_FIT_CHG*/
    int updatBackPcLotUsageFitChgByPur(LotNoRequest6 request);

    /*批量更新:   PC_LOT_USAGE_CHG*/
    int updateBackPcLotUsageChgByPurBatch(List<LotNoRequest6> list, String companyId);

    /*批量更新: 退回PC_LOT_USAGE_FIT_CHG*/
    int updatBackPcLotUsageFitChgByPurBatch(List<LotNoRequest6> list, String companyId);
}
